
package application;

import thes2sim.*;
import data_queuing.*;

public class Node {
    
    //type
    final int PERIODIC = 0;
    final int NONPERIODIC = 1;
    //priority
    final int HIGH = 1;
    final int MID = 2;
    final int LOW = 3;
    
    private Sensor sHigh = new Sensor(NONPERIODIC, HIGH);
    private Sensor sMid = new Sensor(NONPERIODIC, MID);
    private Sensor sLow = new Sensor(NONPERIODIC, LOW);

    //private QueuingOrig qo = new QueuingOrig();
    //private FairQueuingAlgo fqa = new FairQueuingAlgo();
    //private AgingQueuingAlgo aqa = new AgingQueuingAlgo();
    private RRobinQueuingAlgo rqa = new RRobinQueuingAlgo();
    
    
    public Sensor getsHigh() {
        return sHigh;
    }

    public void setsHigh(Sensor sHigh) {
        this.sHigh = sHigh;
    }

    public Sensor getsMid() {
        return sMid;
    }

    public void setsMid(Sensor sMid) {
        this.sMid = sMid;
    }

    public Sensor getsLow() {
        return sLow;
    }

    public void setsLow(Sensor sLow) {
        this.sLow = sLow;
    }
    /*
    public QueuingOrig getQo() {
        return qo;
    }

    public void setQo(QueuingOrig qo) {
        this.qo = qo;
    }
    
    public FairQueuingAlgo getFqa() {
        return fqa;
    }
    
    public void setFqa(FairQueuingAlgo fqa) {
        this.fqa = fqa;
    }
    
    
    
    public AgingQueuingAlgo getAqa() {
        return aqa;
    }

    public void setAqa(AgingQueuingAlgo aqa) {
        this.aqa = aqa;
    }
    */
    
    public RRobinQueuingAlgo getRqa() {
        return rqa;
    }
    
    public void setRqa(RRobinQueuingAlgo rqa) {
        this.rqa = rqa;
    }
    
    
    
   
    
}
